package com.decade.pojo;

import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
public class Door implements Serializable {
    private Integer id;
    private String name;
    private String tel;
    private String addr;
    private Integer status;
    private Timestamp create_time;
    private Timestamp update_time;

    public Door() {
    }

    @Override
    public String toString() {
        return "Door{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", addr='" + addr + '\'' +
                ", status=" + status +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }

    public Door(Integer id, String name, String tel, String addr, Integer status, Timestamp create_time, Timestamp update_time) {
        this.id = id;
        this.name = name;
        this.tel = tel;
        this.addr = addr;
        this.status = status;
        this.create_time = create_time;
        this.update_time = update_time;
    }

    public Integer getId(){
        return this.id;
    }
    public void setId(Integer id){
        this.id = id;
    }
    public String getTel(){
        return this.tel;
    }
    public void setTel(String tel){
        this.tel = tel;
    }
    public String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getAddr(){
        return this.addr;
    }
    public void setAddr(String addr){
        this.addr = addr;
    }
    public Integer getStatus(){
        return this.status;
    }
    public void setStatus(Integer status){
        this.status = status;
    }
    public Timestamp getCreate_time(){
        return this.create_time;
    }
    public void setCreate_time(Timestamp create_time){
       this.create_time = create_time;
    }
    public Timestamp getUpdate_time(){
        return this.update_time;
    }
    public void setUpdate_time(Timestamp update_time){
        this.update_time = update_time;
    }
}
